package cn.nsu.douban.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;
/**
 * 电影信息
 * @author GT72
 *
 */
public class MovieInfo  implements Serializable{
	

	//主键
	private Integer id;
 //电影名
	private String name;
    //导演
	private String director;
  //电影详细信息
	private String info;
     //电影上映日期
	private Date date;
	//是否热门
	private String ishow;
	
	// 播放路径
	private String sourpath;

	// 显示图片地址
	private String imagpath;

	// 分数
	private Integer score;
   //编剧
	private String bianju;
   
	/**
	 * 多对多关系
	 */
	private Set<ActorInfo> ac;
	
	public Set<ActorInfo> getAc() {
		return ac;
	}
	public void setAc(Set<ActorInfo> ac) {
		this.ac = ac;
	}

	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDirector() {
		return director;
	}

	public void setDirector(String director) {
		this.director = director;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getSourpath() {
		return sourpath;
	}

	public void setSourpath(String sourpath) {
		this.sourpath = sourpath;
	}

	public String getImagpath() {
		return imagpath;
	}

	public void setImagpath(String imagpath) {
		this.imagpath = imagpath;
	}


	public Integer getScore() {
		return score;
	}
	public void setScore(Integer score) {
		this.score = score;
	}
	public String getBianju() {
		return bianju;
	}

	public void setBianju(String bianju) {
		this.bianju = bianju;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getIshow() {
		return ishow;
	}

	public void setIshow(String ishow) {
		this.ishow = ishow;
	}

    @Override
	public String toString() {
		return "MovieInfo [id=" + id + ", name=" + name + ", director=" + director + ", info=" + info + ", date=" + date
				+ ", ishow=" + ishow + ", sourpath=" + sourpath + ", imagpath=" + imagpath + ", score=" + score
				+ ", bianju=" + bianju + "]";
	}

	
}
